package cn.kgc.mybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author: mosin
 * @version: v1.0  2022/6/18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Role {

    private  Integer roleId;
    private  String roleName;


    //拥有当前角色的用户
    private List<User> users;
}
